
// 该文件用于配置常见路由

//路由懒加载
const Login = () => import("../views/login/index.vue")
const BasicLayout = () => import("../views/layout/basic-layout.vue")
const Page403 = () => import("../views/exception/403.vue")
const Page404 = () => import("../views/exception/404.vue")

export default [
    {
        path: "/login",
        name: "login",
        component: Login,
    },
    {
        path: "/exception",
        name: "exception",
        // component: BasicLayout,
        
        children: [
            {
                path: "403",
                name: "exception_403",
                component: Page403,
            },
            {
                path: "404",
                name: "exception_404",
                component: Page404,
            },
        ]
    },
    // {
    //     path:"/",
    //     redirect:{
    //         name:"exception"
    //     }
    // }
]